/**
 * 
 */
package com.acxiom.bsh.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.acxiom.bsh.dao.CommoDao;

/**
 * @author luciyu
 *
 */
@Repository
public class CommoDaoImpl implements CommoDao {

	private static Map<String, String> parameterMap = new HashMap<String, String>();
	
	static {
		parameterMap.put("DRAW_DAILY_TIMES", "5");
		parameterMap.put("DOUBLE11_DRAW_DAILY_TIMES", "2");
		parameterMap.put("LUCKY_DRAW_POINT_CODE", "BSH_DRAW");
		
		parameterMap.put("SIGNIN_POINT_CODE", "SIGN_IN");
		parameterMap.put("1234_DRAW_DAILY_TIMES", "1");
		parameterMap.put("1234_DOUBLE12_DRAW_WEEKLY_TIMES", "1");
		
	
	}
	
	@Override
	public String getSparameter(String code) {
		return parameterMap.get(code);
	}

}
